SGGetLastMovieResID
TheSGGetLastMovieResID
allows you to retrieve the last resource ID used by the sequence grabber component. The sequence grabber component assigns a new resource ID to each movie resource it creates. The sequence grabber creates the movie resource when you stop a record operation by calling theSGStop
function, unless you have instructed the sequence grabber not to add the movie resource to the movie file (see the description of theSGSetDataOutput
function beginning on page 5-24 for more information).
pascal ComponentResult SGGetLastMovieResID (SeqGrabComponent s, short *resID) ;
s
- Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's
OpenDefaultComponent
orOpenComponent
function.resID
- Contains a pointer to an integer that is to receive the resource ID the sequence grabber assigned to the movie resource it just created.
DESCRIPTION
If you want this information, you should call this function before you prepare for or start another record or preview operation--because the sequence grabber component resets this value when you start the next operation.RESULT CODE
seqGrabInfoNotAvailable -9407 Sequence grabber cannot support request
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help